package com.hisense.ovcloud.warehouse.entity.tableDef;

import com.mybatisflex.core.query.QueryColumn;
import com.mybatisflex.core.table.TableDef;

// Auto generate by mybatis-flex, do not modify it.
public class DeviceWarehouseTableDef extends TableDef {

    public static final DeviceWarehouseTableDef DEVICE_WAREHOUSE = new DeviceWarehouseTableDef();

    public final QueryColumn ID = new QueryColumn(this, "id");

    public final QueryColumn DOMAIN = new QueryColumn(this, "domain");

    public final QueryColumn STATUS = new QueryColumn(this, "status");

    public final QueryColumn DEL_FLAG = new QueryColumn(this, "del_flag");

    public final QueryColumn DEVICE_ID = new QueryColumn(this, "device_id");

    public final QueryColumn BATCH_CODE = new QueryColumn(this, "batch_code");

    public final QueryColumn PUBLIC_KEY = new QueryColumn(this, "public_key");

    public final QueryColumn SUB_DOMAIN = new QueryColumn(this, "sub_domain");

    public final QueryColumn CREATE_TIME = new QueryColumn(this, "create_time");

    public final QueryColumn UPDATE_TIME = new QueryColumn(this, "update_time");

    public final QueryColumn SHARDING_KEY = new QueryColumn(this, "sharding_key");

    /**
     * 所有字段。
     */
    public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");

    /**
     * 默认字段，不包含逻辑删除或者 large 等字段。
     */
    public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, DOMAIN, STATUS, DEL_FLAG, DEVICE_ID, BATCH_CODE, PUBLIC_KEY, SUB_DOMAIN, CREATE_TIME, UPDATE_TIME, SHARDING_KEY};

    public DeviceWarehouseTableDef() {
        super("", "device_warehouse");
    }

}
